<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<div class="detail">
<form:form action="categoryUpdate.do" commandName="command">
	<fieldset>
		<legend>카테고리 수정</legend>
		<input type="hidden" name="pageNum" value="${pageNum}"/>
		<input type="hidden" name="searchMarket" value="${searchMarket}"/>
		<form:hidden path="c_code"/>
		<table>
			<tr>
				<td><label for="market">대분류 : </label></td>
				<td>
					<form:select path="market">																			
						<form:option value="outer" label="OUTER"/>
						<form:option value="top" label="TOP"/>						
						<form:option value="bottom" label="BOTTOM"/>						
						<form:option value="dress" label="DRESS"/>						
						<form:option value="shoes" label="SHOES"/>						
						<form:option value="accessary" label="ACCESSARY"/>
					</form:select>				
				</td>
			</tr>
			<tr>
				<td><label for="category">카테고리명 : </label></td>
				<td>
					<form:input path="category"/>
					<form:errors path="category"/>
				</td>
			</tr>
			<tr>
				<td><label for="show">표시여부 : </label></td>
				<td>
					<form:radiobutton path="show" value="y" label="공개" checked="checked"/>
					<form:radiobutton path="show" value="n" label="비공개"/>
				</td>
			</tr>
		</table>
	</fieldset>
<input type="submit" value="수정">
<input type="button" value="돌아가기" onclick="history.go(-1)">
</form:form>
</div>